﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Arim.S4.Client.Base.Dto
{
    public class UserDto : EntityDto
    {
        public string Name { get; set; }
        //public string Password { get; set; }
        public string Role { get; set; }
        public string Phone { get; set; }
        public int LoginCount { get; set; }
        public DateTime? LastLoginAt { get; set; }
        public DateTime? LastLogoutAt { get; set; }
    }

    public class UserLoginInput
    {
        public string Name { get; set; }
        public string Password { get; set; }
    }

    public class ChangePasswordInput {
        public string Name { get; set; }
        public string NewPassword { get; set; }
        public string OldPassword { get; set; }
    }
}
